package com.example.mbl.result.business;

import com.example.mbl.entity.*;

import java.util.List;

/**
 * @Author liuhaoqi
 * @Date 2020/6/10 20:37
 * @Version 1.0
 */
public class SearchResult {

    public List<News> news;
    public List<Event> events;
    public List<Article> articles;
    public List<Patent> patents;
    public List<Book> books;

    public List<News> getNews() {
        return news;
    }

    public void setNews(List<News> news) {
        this.news = news;
    }

    public List<Event> getEvents() {
        return events;
    }

    public void setEvents(List<Event> events) {
        this.events = events;
    }

    public List<Article> getArticles() {
        return articles;
    }

    public void setArticles(List<Article> articles) {
        this.articles = articles;
    }

    public List<Patent> getPatents() {
        return patents;
    }

    public void setPatents(List<Patent> patents) {
        this.patents = patents;
    }

    public List<Book> getBooks() {
        return books;
    }

    public void setBooks(List<Book> books) {
        this.books = books;
    }

    @Override
    public String toString() {
        return "SearchResult{" +
                "news=" + news +
                ", events=" + events +
                ", articles=" + articles +
                ", patents=" + patents +
                ", books=" + books +
                '}';
    }
}
